package com.woniuxy.intellihome.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.woniuxy.intellihome.entity.VCredit;
import com.woniuxy.intellihome.mapper.VCreditMapper;
import com.woniuxy.intellihome.service.VCreditService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author ganrun
 * @since 2021-08-16
 */
@Service
public class VCreditServiceImpl extends ServiceImpl<VCreditMapper, VCredit> implements VCreditService {
@Autowired
private VCreditMapper vCreditMapper;

    @Override
    public List<VCredit> getByUserId(int id) {
        return vCreditMapper.getByUserId(id);
    }
}
